<div style="margin: 0 auto;">
    <?php
        echo form_open('admin/auth/login');
        echo form_input('username');
    ?>
    <br />
    <?php echo form_password('password'); ?>
    <br />
    <?php 
        echo form_submit('mysubmit','Login');
        echo form_close(); 
    ?>
</div>
